window.i4 = {};
void function(){
	var c = i4.config = {};
	var host = c.host = {
		js:'/static',
		css:'/static'
	};
	var version = c.version = {
		css:'2014-06-06',
		sky:'2014-06-06'
	};
	c.data = function(){
		var ns = document.getElementsByTagName("script");
		return ns[ns.length - 1].getAttribute('data');
	}();
	c.getData = function(key){
		return new RegExp("[?:; ]*" + key + "=([^;]*);?").test(this.data) ? decodeURIComponent(RegExp["$1"]) : "";
	};

	//sky库文件
	document.write('<script type="text/javascript" src="' + host.js + '/script/sky/i4.js?' + version.sky + '"></script>');
	//加载css文件
	document.write('<link href="' + (c.host.css + '/theme/css/main.css?' + c.version.css) + '" rel="stylesheet" type="text/css" />');
	//kalendae
	document.write('<link href="' + c.host.css + '/theme/kalendae/kalendae.css" rel="stylesheet" type="text/css" />');
}();